package net.lateeye.search;

import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Date;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLWarning;
import java.sql.Statement;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Map;

/**
 * Main purpose why this abstract class exists is as follows:<br />
 * 
 * - In order to make use of java.sql package, result set should extend
 * java.sql.ResultSet<br />
 * - However, concrete class should better ignore unwanted getters that
 * java.sql.ResultSet has <br />
 * - Add some features that are useful for search engine, and consequently
 * designed specifically for this abstract class such as getResult <br />
 * <br />
 * Since the idea "cursor" is not necessary for search engine, all methods which
 * take advantage of it will be deprecated
 * 
 * @author Isao Isaac Saito <130s@lateeye.net>
 * 
 */
public abstract class AbsResultSet implements ResultSet, SearchEngineResultSet
{
	public static final String PROPKEY_QUERY = "propkey_query";
	private static final String ERRORMSG_NORESULT_FOUND = "no search result found.";

	/**
	 * default value is '-1' instead of '0'.
	 * 
	 * @author ISAO Saito <130s@1995.sfc.ne.jp>
	 */
	private long estimatedSize = -1;
	private long availableSize = -1;

	private LinkedList<SearchResult> rlist = new LinkedList<SearchResult>();

	/**
	 * use this instead of getEstimatedNumberOfResults().
	 * 
	 * return value will be '-1' if
	 * 
	 * @author ISAO Saito <130s@1995.sfc.ne.jp>
	 * @since 2008/02/15
	 * @return
	 */
	public long getEstimatedNumberOfResultsLong()
			throws SearchEngineQueryException
	{
		if (-1 == this.estimatedSize) {
			throw new SearchEngineQueryException(
					SearchEngineQueryException.ERR_SEARCH,
					ERRORMSG_NORESULT_FOUND);
		}
		return this.estimatedSize;
	}

	/**
	 * Accessibility should remain "protected" since this method must be
	 * accessed by search modules, not by client modules. Should be accessed
	 * ONLY while result set is being created.
	 * 
	 * @author ISAO Saito <130s@1995.sfc.ne.jp>
	 * @since 1.0
	 * @param estSize
	 */
	protected void setEstimatedNumberOfResultsLong(long estSize)
	{
		this.estimatedSize = estSize;
	}

	/**
	 * 10Mar16/130s: ? at which occasion is this method used? Does it work same
	 * as getFetch?
	 */
	public void setAvailableSize(long availableSize)

	{
		this.availableSize = availableSize;
	}

	/**
	 * 10Apr7/130s/Still wonders how can it be usable? What property is it?
	 */
	public abstract void setProperty(String arg0, String val);

	public void setResult(SearchResult r)
	{
		this.rlist.add(r);
	}

	public int size()
	{
		return this.rlist.size();
	}

	/**
	 * Uses getResults(int numOfResults) internally, so see comments there for
	 * detail.
	 * 
	 * @see net.lateeye.search.SearchEngineResultSet#getResults()
	 */
	public SearchResult[] getResults()
	{
		return this.getResults(0);
	}

	/**
	 * To access results returned from search engine, all other methods in this
	 * abstract class should not be used since they are designed for RDBMS.
	 * 
	 * @param upLimitNumOfResults
	 *            Upper limit number of search results returned.
	 */
	public SearchResult[] getResults(int upLimitNumOfResults)
	{
		int threshold = -1;
		SearchResult[] rs = new SearchResult[this.rlist.size()];

		if (rs.length <= upLimitNumOfResults || upLimitNumOfResults == 0) {
			threshold = rs.length;
		} else if (upLimitNumOfResults < rs.length && upLimitNumOfResults != 0) {
			threshold = upLimitNumOfResults;
		}

		Iterator<?> itr = this.rlist.iterator();
		for (int i = 0; i < threshold; i++) {
			rs[i] = (SearchResult) itr.next();
		}
		return rs;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#absolute(int)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public boolean absolute(int row) throws SearchEngineQueryException
	{
		// DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#afterLast()
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public void afterLast() throws SearchEngineQueryException
	{
		// DO: nothing.
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#beforeFirst()
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public void beforeFirst() throws SearchEngineQueryException
	{
		// DO: nothing.
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#cancelRowUpdates()
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public void cancelRowUpdates() throws SearchEngineQueryException
	{
		// DO: nothing.
	}

	public void clearWarnings() throws SearchEngineQueryException
	{
		// DO: Nothing
	}

	public void close() throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#deleteRow()
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public void deleteRow() throws SearchEngineQueryException
	{ // DO: nothing.
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#findColumn(java.lang.String)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public int findColumn(String columnName) throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#first()
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public boolean first() throws SearchEngineQueryException
	{
		// DO: Nothing.
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getArray(int)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public Array getArray(int i) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getArray(java.lang.String)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public Array getArray(String colName) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getAsciiStream(int)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public InputStream getAsciiStream(int columnIndex)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getAsciiStream(java.lang.String)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public InputStream getAsciiStream(String columnName)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getBigDecimal(int)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public BigDecimal getBigDecimal(int columnIndex)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getBigDecimal(java.lang.String)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public BigDecimal getBigDecimal(String columnName)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getBigDecimal(int, int)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public BigDecimal getBigDecimal(int columnIndex, int scale)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getBigDecimal(java.lang.String, int)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public BigDecimal getBigDecimal(String columnName, int scale)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getBinaryStream(int)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public InputStream getBinaryStream(int columnIndex)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getBinaryStream(java.lang.String)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public InputStream getBinaryStream(String columnName)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getBlob(int)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public Blob getBlob(int i) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getBlob(java.lang.String)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public Blob getBlob(String colName) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getBoolean(int)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public boolean getBoolean(int columnIndex)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getBoolean(java.lang.String)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public boolean getBoolean(String columnName)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getByte(int)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public byte getByte(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#getByte(java.lang.String)
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public byte getByte(String columnName) throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getBytes(int)
	 */
	public byte[] getBytes(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getBytes(java.lang.String)
	 */
	public byte[] getBytes(String columnName) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getCharacterStream(int)
	 */
	public Reader getCharacterStream(int columnIndex)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getCharacterStream(java.lang.String)
	 */
	public Reader getCharacterStream(String columnName)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getClob(int)
	 */
	public Clob getClob(int i) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getClob(java.lang.String)
	 */
	public Clob getClob(String colName) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getConcurrency()
	 */
	public int getConcurrency() throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getCursorName()
	 */
	public String getCursorName() throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getDate(int)
	 */
	public Date getDate(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getDate(java.lang.String)
	 */
	public Date getDate(String columnName) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getDate(int, java.util.Calendar)
	 */
	public Date getDate(int columnIndex, Calendar cal)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getDate(java.lang.String, java.util.Calendar)
	 */
	public Date getDate(String columnName, Calendar cal)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getDouble(int)
	 */
	public double getDouble(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getDouble(java.lang.String)
	 */
	public double getDouble(String columnName)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getFetchDirection()
	 */
	public int getFetchDirection() throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getFetchSize()
	 */
	public int getFetchSize() throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getFloat(int)
	 */
	public float getFloat(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getFloat(java.lang.String)
	 */
	public float getFloat(String columnName) throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getInt(int)
	 */
	public int getInt(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getInt(java.lang.String)
	 */
	public int getInt(String columnName) throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getLong(int)
	 */
	public long getLong(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getLong(java.lang.String)
	 */
	public long getLong(String columnName) throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getMetaData()
	 */
	public ResultSetMetaData getMetaData() throws SearchEngineQueryException
	{// DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getObject(int)
	 */
	public Object getObject(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getObject(java.lang.String)
	 */
	public Object getObject(String columnName)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getObject(int, java.util.Map)
	 */
	public Object getObject(int i, Map<String, Class<?>> map)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getObject(java.lang.String, java.util.Map)
	 */
	public Object getObject(String colName, Map<String, Class<?>> map)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getRef(int)
	 */
	public Ref getRef(int i) throws SearchEngineQueryException
	{// DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getRef(java.lang.String)
	 */
	public Ref getRef(String colName) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getRow()
	 */
	public int getRow() throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getShort(int)
	 */
	public short getShort(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getShort(java.lang.String)
	 */
	public short getShort(String columnName) throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getStatement()
	 */
	public Statement getStatement() throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getString(int)
	 */
	public String getString(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getString(java.lang.String)
	 */
	public String getString(String columnName)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getTime(int)
	 */
	public Time getTime(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getTime(java.lang.String)
	 */
	public Time getTime(String columnName) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getTime(int, java.util.Calendar)
	 */
	public Time getTime(int columnIndex, Calendar cal)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getTime(java.lang.String, java.util.Calendar)
	 */
	public Time getTime(String columnName, Calendar cal)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getTimestamp(int)
	 */
	public Timestamp getTimestamp(int columnIndex)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#getTimestamp(java.lang.String)
	 */
	public Timestamp getTimestamp(String columnName)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getTimestamp(int, java.util.Calendar)
	 */
	public Timestamp getTimestamp(int columnIndex, Calendar cal)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getTimestamp(java.lang.String,
	 *      java.util.Calendar)
	 */
	public Timestamp getTimestamp(String columnName, Calendar cal)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#getType()
	 */
	public int getType() throws SearchEngineQueryException
	{ // DO: Nothing
		return 0;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getURL(int)
	 */
	public URL getURL(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getURL(java.lang.String)
	 */
	public URL getURL(String columnName) throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#getUnicodeStream(int)
	 */
	public InputStream getUnicodeStream(int columnIndex)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#getUnicodeStream(java.lang.String)
	 */
	public InputStream getUnicodeStream(String columnName)
			throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#getWarnings()
	 */
	public SQLWarning getWarnings() throws SearchEngineQueryException
	{ // DO: Nothing
		return null;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#insertRow()
	 */
	public void insertRow() throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#isAfterLast()
	 */
	public boolean isAfterLast() throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#isBeforeFirst()
	 */
	public boolean isBeforeFirst() throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#isFirst()
	 */
	public boolean isFirst() throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#isLast()
	 */
	public boolean isLast() throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#last()
	 */
	public boolean last() throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#moveToCurrentRow()
	 */
	public void moveToCurrentRow() throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#moveToInsertRow()
	 */
	public void moveToInsertRow() throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#next()
	 */
	public boolean next() throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#previous()
	 */
	public boolean previous() throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * @see java.sql.ResultSet#refreshRow()
	 */
	public void refreshRow() throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#relative(int)
	 */
	public boolean relative(int rows) throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#rowDeleted()
	 */
	public boolean rowDeleted() throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#rowInserted()
	 */
	public boolean rowInserted() throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#rowUpdated()
	 */
	public boolean rowUpdated() throws SearchEngineQueryException
	{ // DO: Nothing
		return false;
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#setFetchDirection(int)
	 */
	public void setFetchDirection(int direction)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#setFetchSize(int)
	 */
	public void setFetchSize(int rows) throws SearchEngineQueryException
	{ // DO: Nothing

	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateArray(int, java.sql.Array)
	 */
	public void updateArray(int columnIndex, Array x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateArray(java.lang.String, java.sql.Array)
	 */
	public void updateArray(String columnName, Array x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream, int)
	 */
	public void updateAsciiStream(int columnIndex, InputStream x, int length)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateAsciiStream(java.lang.String,
	 *      java.io.InputStream, int)
	 */
	public void updateAsciiStream(String columnName, InputStream x, int length)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateBigDecimal(int, java.math.BigDecimal)
	 */
	public void updateBigDecimal(int columnIndex, BigDecimal x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateBigDecimal(java.lang.String,
	 *      java.math.BigDecimal)
	 */
	public void updateBigDecimal(String columnName, BigDecimal x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream, int)
	 */
	public void updateBinaryStream(int columnIndex, InputStream x, int length)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateBinaryStream(java.lang.String,
	 *      java.io.InputStream, int)
	 */
	public void updateBinaryStream(String columnName, InputStream x, int length)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateBlob(int, java.sql.Blob)
	 */
	public void updateBlob(int columnIndex, Blob x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateBlob(java.lang.String, java.sql.Blob)
	 */
	public void updateBlob(String columnName, Blob x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateBoolean(int, boolean)
	 */
	public void updateBoolean(int columnIndex, boolean x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateBoolean(java.lang.String, boolean)
	 */
	public void updateBoolean(String columnName, boolean x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateByte(int, byte)
	 */
	public void updateByte(int columnIndex, byte x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateByte(java.lang.String, byte)
	 */
	public void updateByte(String columnName, byte x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateBytes(int, byte[])
	 */
	public void updateBytes(int columnIndex, byte[] x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateBytes(java.lang.String, byte[])
	 */
	public void updateBytes(String columnName, byte[] x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader, int)
	 */
	public void updateCharacterStream(int columnIndex, Reader x, int length)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateCharacterStream(java.lang.String,
	 *      java.io.Reader, int)
	 */
	public void updateCharacterStream(String columnName, Reader reader,
			int length) throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateClob(int, java.sql.Clob)
	 */
	public void updateClob(int columnIndex, Clob x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateClob(java.lang.String, java.sql.Clob)
	 */
	public void updateClob(String columnName, Clob x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateDate(int, java.sql.Date)
	 */
	public void updateDate(int columnIndex, Date x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateDate(java.lang.String, java.sql.Date)
	 */
	public void updateDate(String columnName, Date x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateDouble(int, double)
	 */
	public void updateDouble(int columnIndex, double x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateDouble(java.lang.String, double)
	 */
	public void updateDouble(String columnName, double x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateFloat(int, float)
	 */
	public void updateFloat(int columnIndex, float x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateFloat(java.lang.String, float)
	 */
	public void updateFloat(String columnName, float x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateInt(int, int)
	 */
	public void updateInt(int columnIndex, int x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateInt(java.lang.String, int)
	 */
	public void updateInt(String columnName, int x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateLong(int, long)
	 */
	public void updateLong(int columnIndex, long x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateLong(java.lang.String, long)
	 */
	public void updateLong(String columnName, long x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateNull(int)
	 */
	public void updateNull(int columnIndex) throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateNull(java.lang.String)
	 */
	public void updateNull(String columnName) throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateObject(int, java.lang.Object)
	 */
	public void updateObject(int columnIndex, Object x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object)
	 */
	public void updateObject(String columnName, Object x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateObject(int, java.lang.Object, int)
	 */
	public void updateObject(int columnIndex, Object x, int scale)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object,
	 *      int)
	 */
	public void updateObject(String columnName, Object x, int scale)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateRef(int, java.sql.Ref)
	 */
	public void updateRef(int columnIndex, Ref x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateRef(java.lang.String, java.sql.Ref)
	 */
	public void updateRef(String columnName, Ref x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateRow()
	 */
	public void updateRow() throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateShort(int, short)
	 */
	public void updateShort(int columnIndex, short x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateShort(java.lang.String, short)
	 */
	public void updateShort(String columnName, short x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateString(int, java.lang.String)
	 */
	public void updateString(int columnIndex, String x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateString(java.lang.String, java.lang.String)
	 */
	public void updateString(String columnName, String x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateTime(int, java.sql.Time)
	 */
	public void updateTime(int columnIndex, Time x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateTime(java.lang.String, java.sql.Time)
	 */
	public void updateTime(String columnName, Time x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateTimestamp(int, java.sql.Timestamp)
	 */
	public void updateTimestamp(int columnIndex, Timestamp x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 * 
	 * @see java.sql.ResultSet#updateTimestamp(java.lang.String,
	 *      java.sql.Timestamp)
	 */
	public void updateTimestamp(String columnName, Timestamp x)
			throws SearchEngineQueryException
	{ // DO: Nothing
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.sql.ResultSet#wasNull()
	 * 
	 * @deprecated 10Mar16/130s: Should not be used since this method is
	 *             designed for RDBMS
	 */
	public boolean wasNull() throws SearchEngineQueryException
	{// Do: Nothing
		return false;
	}

	public int getAvailableNumberOfResults()
	{
		return Integer.parseInt(Long.toString(this.availableSize));
	}
}
